package cs236369.hw5.rest;

import java.io.IOException;

import javax.servlet.http.HttpServletResponse;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;

import org.apache.commons.httpclient.HttpStatus;

@Path("/admin-api")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
public class AdminApi
{
	@DELETE
	@Path("/deleteUser")
	public void deleteUser(@Context HttpServletResponse res) throws IOException
	{
		res.sendError(HttpStatus.SC_CONFLICT, "arg1");
		
	}
	
}
